package com.bxl.netty.rpc.common.message;

/**
 * <可以扩展 携带一些元数据信息>
 *
 * @author baixl
 * @date 2021/3/5
 */

public class RegisterContent {
private String ip;
private String app;
private int port;

    public RegisterContent() {
    }

    public RegisterContent(String app, String ip, int port) {
        this.ip = ip;
        this.app = app;
        this.port = port;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getIp() {
    
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getApp() {
        return app;
    }

    public void setApp(String app) {
        this.app = app;
    }
}
